home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7711 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: newsfeed.internetmci.com!panix!usenet
  2. From: gg@panix.com (Louis Bianchi)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How to clear screen?
  5. Date: Sun, 25 Feb 1996 15:59:18 GMT
  6. Organization: PANIX Public Access Internet and Unix, NYC
  7. Message-ID: <4gq0u3$s4j@news1.panix.com>
  8. References: <4gmalh$csq@cloner3.netcom.com>
  9. NNTP-Posting-Host: gg.dialup.access.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. luisjm@ix.netcom.com(Luis Martinez ) wrote:
  13.  
  14. >Is there a function to clear a text screen?
  15.  
  16.  
  17. Most compilers will have a function to do it.  It is not standard from
  18. compiler to compiler.
  19.  
  20. I know of two different ones.  In the Borland C++ package (I have used
  21. version 3.1) to clear the screen you use the clrscr() function.  This
  22. is defined in the conio.h header file.
  23.  
  24. In the Microsoft Visual C++ package you have to use _clearscreen().
  25. This is defined in the graph.h header file.  Also you must include a
  26. target area parameter in order to have it function.  The borland
  27. function will clear the screen with no parameters provided.
  28.  
  29. If you do not have either of the mentioned packages, I could only
  30. recomend that you check you manuals or help files.
  31. Be seeing you,
  32. gg
  33.  
  34.  
  35.               ***************************************************
  36.               *       Louis Bianchi  gg@panix.com               *
  37.               *          http://www.panix.com/~gg/              *
  38.               ***************************************************
  39.  
  40.